package com.xuecheng.content.exception;

import com.xuecheng.base.exception.XCPlusBaseException;

/**
 * @author 勾新杰
 * @version 1.0
 * @description: 课程未审核通过异常
 * @date 2025/2/17 18:28
 */
public class CourseNotAuditSuccessException extends XCPlusBaseException {

    CourseNotAuditSuccessException(String message) {
        super(message);
    }

    public static void cast(){
        throw new CourseNotAuditSuccessException(ContentError.COURSE_AUDIT_NOT_SUCCESS.getErrMessage());
    }
}
